﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace The_Wumpers
{
	public partial class StartScreen : Form
	{
		public StartScreen()
		{
			InitializeComponent();
		}
		public static void ThreadProc()
		{
			Application.Run(new UIForm());
		}
		public bool startGame = false;
		private void Start_Click(object sender, EventArgs e)
		{
			this.Close();
			System.Threading.Thread t = new System.Threading.Thread(new System.Threading.ThreadStart(ThreadProc));
			t.Start();
		}

		private void ExitButton_Click(object sender, EventArgs e)
		{
			this.Close();
		}

        private void StartScreen_Load(object sender, EventArgs e)
        {

        }

        private void HelpButton_Click(object sender, EventArgs e)
        {
            using (HelpScreen popUpForm = new HelpScreen())
            {
                popUpForm.ShowDialog();
            }
        }

	}
}
